﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001013 RID: 4115
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournFormulaCallback : IMessage<RogueTournFormulaCallback>, IMessage, IEquatable<RogueTournFormulaCallback>, IDeepCloneable<RogueTournFormulaCallback>, IBufferMessage
	{
		// Token: 0x1700340D RID: 13325
		// (get) Token: 0x0600B81C RID: 47132 RVA: 0x001F0D4F File Offset: 0x001EEF4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournFormulaCallback> Parser
		{
			get
			{
				return RogueTournFormulaCallback._parser;
			}
		}

		// Token: 0x1700340E RID: 13326
		// (get) Token: 0x0600B81D RID: 47133 RVA: 0x001F0D56 File Offset: 0x001EEF56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournFormulaCallbackReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700340F RID: 13327
		// (get) Token: 0x0600B81E RID: 47134 RVA: 0x001F0D68 File Offset: 0x001EEF68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournFormulaCallback.Descriptor;
			}
		}

		// Token: 0x0600B81F RID: 47135 RVA: 0x001F0D6F File Offset: 0x001EEF6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFormulaCallback()
		{
		}

		// Token: 0x0600B820 RID: 47136 RVA: 0x001F0D77 File Offset: 0x001EEF77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFormulaCallback(RogueTournFormulaCallback other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B821 RID: 47137 RVA: 0x001F0D90 File Offset: 0x001EEF90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFormulaCallback Clone()
		{
			return new RogueTournFormulaCallback(this);
		}

		// Token: 0x0600B822 RID: 47138 RVA: 0x001F0D98 File Offset: 0x001EEF98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournFormulaCallback);
		}

		// Token: 0x0600B823 RID: 47139 RVA: 0x001F0DA6 File Offset: 0x001EEFA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournFormulaCallback other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600B824 RID: 47140 RVA: 0x001F0DC4 File Offset: 0x001EEFC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B825 RID: 47141 RVA: 0x001F0DEA File Offset: 0x001EEFEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B826 RID: 47142 RVA: 0x001F0DF2 File Offset: 0x001EEFF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B827 RID: 47143 RVA: 0x001F0DFB File Offset: 0x001EEFFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B828 RID: 47144 RVA: 0x001F0E14 File Offset: 0x001EF014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B829 RID: 47145 RVA: 0x001F0E3A File Offset: 0x001EF03A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournFormulaCallback other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B82A RID: 47146 RVA: 0x001F0E57 File Offset: 0x001EF057
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B82B RID: 47147 RVA: 0x001F0E60 File Offset: 0x001EF060
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004A4B RID: 19019
		private static readonly MessageParser<RogueTournFormulaCallback> _parser = new MessageParser<RogueTournFormulaCallback>(() => new RogueTournFormulaCallback());

		// Token: 0x04004A4C RID: 19020
		private UnknownFieldSet _unknownFields;
	}
}
